const crypto = require('crypto');

const passKey = "FUNlyfMD46559";  //md5加密密匙


module.exports = {
	//md5加密
	md5: function(str){
		str = passKey + str;
		var obj=crypto.createHash('md5');
	    obj.update(str);
	    return obj.digest('hex');
	}
}
